import React, { Component } from 'react';
import TopBar from '../../components/TopBar';
import { Route, Switch } from 'react-router-dom'
import Culling from '../../components/homes/Culling';
import Man from '../../components/homes/Man';
import Woman from '../../components/homes/Woman';
import './index.css'
class Home extends Component {
    render() {
        return (
            <div className="home-container">
               <TopBar/>
                    <Switch>
                            <Route path="/home/culling" component={Culling}></Route>
                            <Route path="/home/man" component={Man}></Route>
                            <Route path="/home/woman" component={Woman}></Route>
                    </Switch>
            </div>
        );
    }
}

export default Home;